package com.aliyun.heiyu.powermaster.server.rotary.object.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description 服务器采集信息
 * @Author shun.zhang
 * @Date 2019/12/30 14:04
 **/
public class ServerCollectInfoEntity {
    private int id;
    private Date gmt_create;
    private Date gmt_modified;
    /**
     * 采集时间
     */
    private Date collect_time;
    /**
     * 机框功耗
     */
    private BigDecimal frame_power;
    /**
     * 服务器功耗
     */
    private BigDecimal server_power;
    /**
     * cpu频率
     */
    private String cpu_freq;
    /**
     * cpu用量
     */
    private BigDecimal cpu_usage;
    /**
     * 采集服务器id
     */
    private String server_sn;
    /**
     * 入风温度
     */
    private BigDecimal inlet_temp;
    /**
     * 出风温度
     */
    private BigDecimal outlet_temp;
    /**
     * cpu温度
     */
    private String cpu_temp;
    /**
     * 内存温度
     */
    private String dimmg_temp;
    private String fan_rpm;
    private String ps_power;
    private BigDecimal pch_temp;
    private String nvme_temp;
    private String cpu_margin_temp;
    private String cpu_vr_temp;
    private String core_util;
    private BigDecimal nvme_temp_max;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getGmt_create() {
        return gmt_create;
    }

    public void setGmt_create(Date gmt_create) {
        this.gmt_create = gmt_create;
    }

    public Date getGmt_modified() {
        return gmt_modified;
    }

    public void setGmt_modified(Date gmt_modified) {
        this.gmt_modified = gmt_modified;
    }

    public Date getCollect_time() {
        return collect_time;
    }

    public void setCollect_time(Date collect_time) {
        this.collect_time = collect_time;
    }

    public BigDecimal getFrame_power() {
        return frame_power;
    }

    public void setFrame_power(BigDecimal frame_power) {
        this.frame_power = frame_power;
    }

    public BigDecimal getServer_power() {
        return server_power;
    }

    public void setServer_power(BigDecimal server_power) {
        this.server_power = server_power;
    }

    public String getCpu_freq() {
        return cpu_freq;
    }

    public void setCpu_freq(String cpu_freq) {
        this.cpu_freq = cpu_freq;
    }

    public BigDecimal getCpu_usage() {
        return cpu_usage;
    }

    public void setCpu_usage(BigDecimal cpu_usage) {
        this.cpu_usage = cpu_usage;
    }

    public String getServer_sn() {
        return server_sn;
    }

    public void setServer_sn(String server_sn) {
        this.server_sn = server_sn;
    }

    public BigDecimal getInlet_temp() {
        return inlet_temp;
    }

    public void setInlet_temp(BigDecimal inlet_temp) {
        this.inlet_temp = inlet_temp;
    }

    public BigDecimal getOutlet_temp() {
        return outlet_temp;
    }

    public void setOutlet_temp(BigDecimal outlet_temp) {
        this.outlet_temp = outlet_temp;
    }

    public String getCpu_temp() {
        return cpu_temp;
    }

    public void setCpu_temp(String cpu_temp) {
        this.cpu_temp = cpu_temp;
    }

    public String getDimmg_temp() {
        return dimmg_temp;
    }

    public void setDimmg_temp(String dimmg_temp) {
        this.dimmg_temp = dimmg_temp;
    }

    public String getFan_rpm() {
        return fan_rpm;
    }

    public void setFan_rpm(String fan_rpm) {
        this.fan_rpm = fan_rpm;
    }

    public String getPs_power() {
        return ps_power;
    }

    public void setPs_power(String ps_power) {
        this.ps_power = ps_power;
    }

    public BigDecimal getPch_temp() {
        return pch_temp;
    }

    public void setPch_temp(BigDecimal pch_temp) {
        this.pch_temp = pch_temp;
    }

    public String getNvme_temp() {
        return nvme_temp;
    }

    public void setNvme_temp(String nvme_temp) {
        this.nvme_temp = nvme_temp;
    }

    public String getCpu_margin_temp() {
        return cpu_margin_temp;
    }

    public void setCpu_margin_temp(String cpu_margin_temp) {
        this.cpu_margin_temp = cpu_margin_temp;
    }

    public String getCpu_vr_temp() {
        return cpu_vr_temp;
    }

    public void setCpu_vr_temp(String cpu_vr_temp) {
        this.cpu_vr_temp = cpu_vr_temp;
    }

    public String getCore_util() {
        return core_util;
    }

    public void setCore_util(String core_util) {
        this.core_util = core_util;
    }

    public BigDecimal getNvme_temp_max() {
        return nvme_temp_max;
    }

    public void setNvme_temp_max(BigDecimal nvme_temp_max) {
        this.nvme_temp_max = nvme_temp_max;
    }

    @Override
    public String toString() {
        return "ServerCollectInfoEntity{" +
            "id=" + id +
            ", gmt_create=" + gmt_create +
            ", gmt_modified=" + gmt_modified +
            ", collect_time=" + collect_time +
            ", frame_power=" + frame_power +
            ", server_power=" + server_power +
            ", cpu_freq='" + cpu_freq + '\'' +
            ", cpu_usage=" + cpu_usage +
            ", server_sn='" + server_sn + '\'' +
            ", inlet_temp=" + inlet_temp +
            ", outlet_temp=" + outlet_temp +
            ", cpu_temp='" + cpu_temp + '\'' +
            ", dimmg_temp='" + dimmg_temp + '\'' +
            ", fan_rpm='" + fan_rpm + '\'' +
            ", ps_power='" + ps_power + '\'' +
            ", pch_temp=" + pch_temp +
            ", nvme_temp='" + nvme_temp + '\'' +
            ", cpu_margin_temp='" + cpu_margin_temp + '\'' +
            ", cpu_vr_temp='" + cpu_vr_temp + '\'' +
            ", core_util='" + core_util + '\'' +
            ", nvme_temp_max=" + nvme_temp_max +
            '}';
    }
}
